<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">

  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Gentelella Alela! | </title>

    <!-- Bootstrap -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/nprogress.css" rel="stylesheet">
    
    <!-- Custom styling plus plugins -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/custom.min.css" rel="stylesheet"> 
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
                      <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><span>约健APP后台管理</span></a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile clearfix">
              <div class="profile_pic">
                <img src="/PHPShiZhanDiLiuZu/yuejian6/Public/pic/img.jpg" alt="..." class="img-circle profile_img">
              </div>
              <div class="profile_info">
                <span>系统管理员</span>
                <h2>Admin</h2>
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>约健6组</h3>
                <ul class="nav side-menu">
                  <li><a> 晒图管理 </a>
                    <ul class="nav child_menu">
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Shaitu/shaitulist">图片管理</a></li>
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Comments/commentslist">评论管理</a></li>
                    </ul>
                  </li>
                  <li><a> 约健体育联盟 </a>
                    <ul class="nav child_menu">
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Coach/coachList">教练管理</a></li>
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Play/playList">比赛管理</a></li>
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Activity/activitylist">活动管理</a></li>    
                    </ul>
                  </li>
                </ul>
              </div>
            </div>
            <!-- /sidebar menu -->

            <!-- /menu footer buttons -->
            <div class="sidebar-footer hidden-small">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
                <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
                <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
            </div>
            <!-- /menu footer buttons -->
          </div>
        </div>
        <!-- top navigation -->
                    <div class="top_nav">
          <div class="nav_menu">
            <nav>
<!--               <div class="nav toggle">
                <a id="menu_toggle"><button>放大</button></a>
              </div> -->

              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <img src="/PHPShiZhanDiLiuZu/yuejian6/Public/pic/img.jpg" alt="">Admin
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Index/index">切换俱乐部管理员</a></li>
                    <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Index/logout">退出登录</a></li>
                  </ul>
                </li>
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->



        <!-- 各自的模块在下面 -->
                <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3> 约健管理中心 </h3>
              </div>

<form action="<?php echo U('index.php/Admin/Shaitu/sshaitu');?>" method="post" enctype="multipart/form-data">
              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <input type="text"  Name="shaitu_explain" placeholder="查询条件" required="class="form-control">
                      <button type="submit">Go!</button>
                  </div>
                </div>
              </div>
</form>
            </div>

            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>晒图管理</h2>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

                    <div class="row">

                      <p>Exercise for an hour every day</p>
<?php if(is_array($shaitu)): foreach($shaitu as $key=>$vo): ?><div class="col-md-55">
                        <div class="thumbnail">
                          <div class="image view view-first">
                            <img style="width: 100%; display: block;" src="/PHPShiZhanDiLiuZu/yuejian6/Public/pic/<?php echo ($vo['shaitu_pic']); ?>" alt="image" />
                            <div class="mask no-caption">
                              <div class="tools tools-bottom">
                                <a href="<?php echo U('Admin/Shaitu/shaitudel');?>?shaitu_id=<?php echo ($vo['shaitu_id']); ?>">删除</a>
<!--                                 <a href="<?php echo U('Admin/Shaitu/shaitudetail');?>?shaitu_id=<?php echo ($vo['shaitu_id']); ?>">
                                  详情
                                </a> -->
                                <a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Shaitu/shaitudetail/shaitu_id/<?php echo ($vo['shaitu_id']); ?>/uid/<?php echo ($vo['uid']); ?>">
                                详情
                                </a>
                                <a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Shaitu/shaitustate/shaitu_id/<?php echo ($vo['shaitu_id']); ?>/shaitu_state/<?php echo ($vo['shaitu_state']); ?>">
                                  <?php if(($vo["shaitu_state"] == 0)): ?><span>正常</span>
                                  <?php else: ?>
                                  <span>已禁用</span><?php endif; ?>
                                </a>
                              </div>
                            </div>
                          </div>
                          <div class="caption">
                            <p><strong>点击量</strong>      <?php echo ($vo['shaitu_hit']); ?></p>
                            <p><?php echo ($vo['shaitu_explain']); ?></p>
                          </div>
                        </div>
                      </div><?php endforeach; endif; ?>
                    </div>
                  </div>
                   <div><center><?php echo ($page1); ?></center></div>
                </div>
              </div>
            </div>
          </div>
        </div>
<!--         <div class="right_col" role="main">



          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3> 晒图管理 </h3>
              </div>

              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <input type="text" class="form-control" placeholder="Search for...">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button">Go!</button>
                    </span>
                  </div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>所有晒图</h2>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
<?php if(is_array($shaitu)): foreach($shaitu as $key=>$vo): ?><div class="row">
                      <div class="col-md-55">
                        <div class="thumbnail">
                          <div class="image view view-first">
                            <img style="width: 100%; display: block;" src="/PHPShiZhanDiLiuZu/yuejian6/Public/pic/<?php echo ($vo['shaitu_pic']); ?>" alt="image" />
                            <div class="mask">
                              <p>Your Text</p>
                              <div class="tools tools-bottom">
                                <a href="#"><i class="fa fa-link"></i></a>
                              </div>
                            </div>
                          </div>
                          <div class="caption">
                            <p><?php echo ($vo['shaitu_explain']); ?></p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div><?php endforeach; endif; ?>
                </div>
              </div>
            </div>
          </div> -->






        </div>
        <!-- /page content -->
      </div>




    </div>
    <!-- jQuery -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/fastclick.js"></script>
    <!-- NProgress -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/nprogress.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/custom.min.js"></script>
  </body>
</html>